package com.shj.shiro.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.shj.shiro.base.MyMapper;
import com.shj.shiro.model.User;

@Component
public interface UserMapper extends MyMapper<User>{

	public User findByUser(@Param("uid") String uid, @Param("pwd")String pwd);
	
	public User findByUserId(String uid);
	
	public int findByMobileNum(String mobilNum);
	
	public void createUser(User user);
	
}
